﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005BD RID: 1469
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishTutorialCsReq : IMessage<FinishTutorialCsReq>, IMessage, IEquatable<FinishTutorialCsReq>, IDeepCloneable<FinishTutorialCsReq>, IBufferMessage
	{
		// Token: 0x170012D1 RID: 4817
		// (get) Token: 0x0600420C RID: 16908 RVA: 0x000B45EC File Offset: 0x000B27EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishTutorialCsReq> Parser
		{
			get
			{
				return FinishTutorialCsReq._parser;
			}
		}

		// Token: 0x170012D2 RID: 4818
		// (get) Token: 0x0600420D RID: 16909 RVA: 0x000B45F3 File Offset: 0x000B27F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishTutorialCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012D3 RID: 4819
		// (get) Token: 0x0600420E RID: 16910 RVA: 0x000B4605 File Offset: 0x000B2805
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishTutorialCsReq.Descriptor;
			}
		}

		// Token: 0x0600420F RID: 16911 RVA: 0x000B460C File Offset: 0x000B280C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialCsReq()
		{
		}

		// Token: 0x06004210 RID: 16912 RVA: 0x000B4614 File Offset: 0x000B2814
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialCsReq(FinishTutorialCsReq other) : this()
		{
			this.tutorialId_ = other.tutorialId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004211 RID: 16913 RVA: 0x000B4639 File Offset: 0x000B2839
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialCsReq Clone()
		{
			return new FinishTutorialCsReq(this);
		}

		// Token: 0x170012D4 RID: 4820
		// (get) Token: 0x06004212 RID: 16914 RVA: 0x000B4641 File Offset: 0x000B2841
		// (set) Token: 0x06004213 RID: 16915 RVA: 0x000B4649 File Offset: 0x000B2849
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TutorialId
		{
			get
			{
				return this.tutorialId_;
			}
			set
			{
				this.tutorialId_ = value;
			}
		}

		// Token: 0x06004214 RID: 16916 RVA: 0x000B4652 File Offset: 0x000B2852
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishTutorialCsReq);
		}

		// Token: 0x06004215 RID: 16917 RVA: 0x000B4660 File Offset: 0x000B2860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishTutorialCsReq other)
		{
			return other != null && (other == this || (this.TutorialId == other.TutorialId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004216 RID: 16918 RVA: 0x000B4690 File Offset: 0x000B2890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TutorialId != 0U)
			{
				num ^= this.TutorialId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004217 RID: 16919 RVA: 0x000B46CF File Offset: 0x000B28CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004218 RID: 16920 RVA: 0x000B46D7 File Offset: 0x000B28D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004219 RID: 16921 RVA: 0x000B46E0 File Offset: 0x000B28E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TutorialId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.TutorialId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600421A RID: 16922 RVA: 0x000B4714 File Offset: 0x000B2914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TutorialId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TutorialId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600421B RID: 16923 RVA: 0x000B4752 File Offset: 0x000B2952
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishTutorialCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TutorialId != 0U)
			{
				this.TutorialId = other.TutorialId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600421C RID: 16924 RVA: 0x000B4783 File Offset: 0x000B2983
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600421D RID: 16925 RVA: 0x000B478C File Offset: 0x000B298C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TutorialId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040019F1 RID: 6641
		private static readonly MessageParser<FinishTutorialCsReq> _parser = new MessageParser<FinishTutorialCsReq>(() => new FinishTutorialCsReq());

		// Token: 0x040019F2 RID: 6642
		private UnknownFieldSet _unknownFields;

		// Token: 0x040019F3 RID: 6643
		public const int TutorialIdFieldNumber = 6;

		// Token: 0x040019F4 RID: 6644
		private uint tutorialId_;
	}
}
